package org.rcloud.io.mapper;

import org.rcloud.io.model.Homestayfile;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HomestayfileMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Homestayfile record);

    int insertSelective(Homestayfile record);

    Homestayfile selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Homestayfile record);

    int updateByPrimaryKey(Homestayfile record);

    List<Homestayfile> selectByNum(String id);

    int updateById(int id);

    int updateFlagAll(String eid);

    int updateFlag(int id);
}